package hng.mapper;

import hng.model.BannerDO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import hng.vo.admin.BannerVO;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 * 轮播图表 Mapper 接口
 * </p>
 *
 * @author 告白
 * @since 2024-06-27
 */
public interface BannerMapper extends BaseMapper<BannerDO> {

    @Select("select * from banner")
    List<BannerVO> bannerList();
}
